<template>
  <div>
    <h3>Part1</h3>
    <Part2>
      <template v-slot:s2>
        <p>你好</p>
      </template>
      <template #s1>
        <p>今天是个好日子</p>
      </template>
      <template #default>
        <p>明天会更好</p>
      </template>
    </Part2>

  </div>
</template>

<script setup lang='ts' name="Part1">
import { ref, reactive } from 'vue'
import Part2 from './Part2.vue';


</script>


<style lang='scss' scoped></style>